﻿using System;

namespace Fast
{
    [SkipScan]
    public class BusinessException : Exception
    {
        /// <summary>
        /// 错误码
        /// </summary>
        public string Code { get; set; }

        public BusinessException(string code, string message, Exception innerException = null)
            : base(message, innerException)
        {
            Code = code;
        }
    }
}
